import { baseRequest } from "@/utils/request";
const request = (url, ...arg) =>
  baseRequest(`/admin/v1/summary/history/${url}`, ...arg);

export default {
  // 获取人员分页
  page(data) {
    return request("page", data);
  },
  calculate(data) {
    return request("calculate", data);
  },
};
